How to train the tokenizer and tagger to treat the word as adjective
Hi,
I want to know the adjectives and their count in a sentence, but when an adjective is used before a noun it is considered as a pronoun. How can I overcome this? How can I train the tagger or tokenizer to consider it as adjective? Can anyone help me on this please...?
For example:GoodJob [GoodJob 'NNP']
Thanks Anil
You must be logged in to post. Please login or register an account.
The punkt tokenizer is the one you'd probably start with. For training it, start with some info here: https://groups.google.com/forum/#!topic/nltk-users/bxIEnmgeCSM
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.
Thanks Harrison. Actually I was a bit confused with punkt tokenizer, all the sites I am referring are stating that it is used to train a new language.I am not looking for any new language... I want the tagger to consider all the words linked with adjectives are adjectives....Can it be achieved..?
-Anilt 9 years ago
You must be logged in to post. Please login or register an account.